package demo.game.chess.client.ui;

import com.allen_sauer.gwt.log.client.Log;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;

public class PlayWithComputerChessEntryPoint implements EntryPoint {

	protected PlayWithComputerChessUI ui;

	@Override
	public void onModuleLoad() {
		Log.info(getClass() + " starting chess entry point");
		try {
			this.ui = new PlayWithComputerChessUI();

			RootPanel.get("chessUI").add(this.ui);
		} catch (Exception e) {
			Log.error(e.toString());
		}
	}
}